package com.atguigu.spring6.iocxml.auto.controller;

import com.atguigu.spring6.iocxml.auto.service.UserService;

/**
 * @author: Michael
 * @date: 2025/5/14
 * @desc:
 */
public class UserController {

    private UserService userService;

    public void setUserService(UserService userService) {
        this.userService = userService;
    }

    public void addUser() {
        System.out.println("UserController addUser 方法执行了");
        userService.addUserService();
    }
}
